package com.anolesoft.yr.mbus.cont.dao;

import com.anolesoft.yr.mbus.cont.entity.ContMain;
import com.anolesoft.yr.mbus.cont.entity.ContMainExample;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface ContMainDao extends BaseMapper<ContMain> {
    long countByExample(ContMainExample example);

    int deleteByExample(ContMainExample example);

    List<ContMain> selectByExample(ContMainExample example);

    int updateByExampleSelective(@Param("record") ContMain record, @Param("example") ContMainExample example);

    int updateByExample(@Param("record") ContMain record, @Param("example") ContMainExample example);

    int updateBatch(List<ContMain> list);

    int updateBatchSelective(List<ContMain> list);

    int batchInsert(@Param("list") List<ContMain> list);

    int insertOrUpdate(ContMain record);

    int insertOrUpdateSelective(ContMain record);

    /**
     * delete by primary key
     *
     * @param objuid primaryKey
     * @return deleteCount
     */
}